package com.jia.train.seat.mapper;

import com.jia.train.seat.entity.DailyTrips;
import com.jia.train.seat.entity.DailyTripsExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DailyTripsMapper {
    long countByExample(DailyTripsExample example);

    int deleteByExample(DailyTripsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DailyTrips record);

    int batchInsert(@Param("list") List<DailyTrips> list);

    int insertSelective(DailyTrips record);

    List<DailyTrips> selectByExample(DailyTripsExample example);

    DailyTrips selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DailyTrips record, @Param("example") DailyTripsExample example);

    int updateByExample(@Param("record") DailyTrips record, @Param("example") DailyTripsExample example);

    int updateByPrimaryKeySelective(DailyTrips record);

    int updateByPrimaryKey(DailyTrips record);
}